﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ProjectRoughWork
{
    class ProjectAIState : AIState
    {
        /// <summary>
        /// Default constructor that initializes the gamepaly screen
        /// </summary>
        /// <param name="screen">The gameplay screen that'll handle collision checks</param>

        public ProjectAIState(GameplayScreen screen)
            : base()
        {
            gameScreen = screen;
        }

        /// <summary>
        /// Has the gameplay screen check for collisions against the actor
        /// </summary>
        /// <param name="actorID"></param>
        /// <returns></returns>

        public IActor CheckForCollision(int actorID, int shooterID)
        {
            return gameScreen.CheckNerfForCollision(actorID, shooterID);
        }

        //Data Members

        protected GameplayScreen gameScreen;
    }
}
